package com.ruoyi.coal.modules.coalpile.domain.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.coal.modules.coalpile.domain.PointEntity;

import java.util.Date;

public class CoalYardHistoryVo {
    @TableId
//@ApiModelProperty(")
    private Integer id;

    //@ApiModelProperty(")
    private String url;

    //@ApiModelProperty(")
    private Date time;

    //@ApiModelProperty(")
    private Integer coalYardId;

    //@ApiModelProperty(")
    private PointEntity maxPoint;

    //@ApiModelProperty(")
    private PointEntity minPoint;

    //@ApiModelProperty(")
    private Double volume;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public void setCoalYardId(Integer coalYardId) {
        this.coalYardId = coalYardId;
    }

    public void setMaxPoint(PointEntity maxPoint) {
        this.maxPoint = maxPoint;
    }

    public void setMinPoint(PointEntity minPoint) {
        this.minPoint = minPoint;
    }

    public void setVolume(Double volume) {
        this.volume = volume;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.vo.CoalYardHistoryVo))
            return false;
        com.ruoyi.coal.modules.coalpile.domain.vo.CoalYardHistoryVo other = (com.ruoyi.coal.modules.coalpile.domain.vo.CoalYardHistoryVo) o;
        if (!other.canEqual(this))
            return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
            return false;
        Object this$url = getUrl(), other$url = other.getUrl();
        if ((this$url == null) ? (other$url != null) : !this$url.equals(other$url))
            return false;
        Object this$time = getTime(), other$time = other.getTime();
        if ((this$time == null) ? (other$time != null) : !this$time.equals(other$time))
            return false;
        Object this$coalYardId = getCoalYardId(), other$coalYardId = other.getCoalYardId();
        if ((this$coalYardId == null) ? (other$coalYardId != null) : !this$coalYardId.equals(other$coalYardId))
            return false;
        Object this$maxPoint = getMaxPoint(), other$maxPoint = other.getMaxPoint();
        if ((this$maxPoint == null) ? (other$maxPoint != null) : !this$maxPoint.equals(other$maxPoint))
            return false;
        Object this$minPoint = getMinPoint(), other$minPoint = other.getMinPoint();
        if ((this$minPoint == null) ? (other$minPoint != null) : !this$minPoint.equals(other$minPoint))
            return false;
        Object this$volume = getVolume(), other$volume = other.getVolume();
        return !((this$volume == null) ? (other$volume != null) : !this$volume.equals(other$volume));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.ruoyi.coal.modules.coalpile.domain.vo.CoalYardHistoryVo;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $url = getUrl();
        result = result * 59 + (($url == null) ? 43 : $url.hashCode());
        Object $time = getTime();
        result = result * 59 + (($time == null) ? 43 : $time.hashCode());
        Object $coalYardId = getCoalYardId();
        result = result * 59 + (($coalYardId == null) ? 43 : $coalYardId.hashCode());
        Object $maxPoint = getMaxPoint();
        result = result * 59 + (($maxPoint == null) ? 43 : $maxPoint.hashCode());
        Object $minPoint = getMinPoint();
        result = result * 59 + (($minPoint == null) ? 43 : $minPoint.hashCode());
        Object $volume = getVolume();
        return result * 59 + (($volume == null) ? 43 : $volume.hashCode());
    }

    public String toString() {
        return "CoalYardHistoryVo(id=" + getId() + ", url=" + getUrl() + ", time=" + getTime() + ", coalYardId=" + getCoalYardId() + ", maxPoint=" + getMaxPoint() + ", minPoint=" + getMinPoint() + ", volume=" + getVolume() + ")";
    }

    public Integer getId() {
        return this.id;
    }

    public String getUrl() {
        return this.url;
    }

    public Date getTime() {
        return this.time;
    }

    public Integer getCoalYardId() {
        return this.coalYardId;
    }

    public PointEntity getMaxPoint() {
        return this.maxPoint;
    }

    public PointEntity getMinPoint() {
        return this.minPoint;
    }

    public Double getVolume() {
        return this.volume;
    }
}

